<template>
  <div>
    <el-form class="qm-table-form" label-width="100px" :model="model">
      <el-row>
        <el-col :span="24">
          <editor v-model="model.body" :globalOptions="{}" :disabled="true" />
        </el-col>
      </el-row>
      <el-row>
        <el-col :span="24">
          <qm-file-upload
            :dataKey="model.dataKey"
            :categories="['正式稿']"
            :editable="false"
            title="附件"
            fileSize="20"
            fileType=".jpg,.png,.doc,.docx,.xls,.xlsx,.pdf,.txt,.zip,.rar"
            viewType="office"
          ></qm-file-upload>
        </el-col>
      </el-row>
    </el-form>
  </div>
</template>

<script>
import Editor from "@/components/Editor";
import QmFileUpload from "@/libs/components/qm-file-upload";
export default {
  name: "me-message-view",
  props: {
    model: Object,
  },
  components: {
    Editor,
    QmFileUpload,
  },
};
</script>

<style scoped>
</style>